<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var obj1 = {name: '小杨', age: 18};
        var obj2 = obj1;
        var obj3 = obj2;
        console.log(obj1 === obj2);
        console.log(obj2 === obj3);
        console.log(obj1 === obj3);
        obj2.age = 19;
        console.log(obj1);
    </script>
</head>
<body>
    
</body>
</html>